package cn.edu.zzuli.web.controller;

import javax.annotation.Resource;

import cn.edu.zzuli.web.dao.CreateIndex;
import cn.edu.zzuli.web.dao.ForumDAO;
import cn.edu.zzuli.web.dao.SystemDAO;
import cn.edu.zzuli.web.dao.UserDAO;


public abstract class AbstractController {
	
	@Resource(name = "forumDAO")
	private ForumDAO forumDao;
	
	@Resource(name = "systemDAO")
	private SystemDAO systemDao;
	
	@Resource(name = "userDAO")
	private UserDAO userDao;
	
	@Resource(name = "createIndex")
	private CreateIndex createIndex;

	public UserDAO getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDAO userDao) {
		this.userDao = userDao;
	}

	public ForumDAO getForumDao() {
		return forumDao;
	}

	public void setForumDao(ForumDAO forumDao) {
		this.forumDao = forumDao;
	}

	public CreateIndex getCreateIndex() {
		return createIndex;
	}

	public void setCreateIndex(CreateIndex createIndex) {
		this.createIndex = createIndex;
	}

	public SystemDAO getSystemDao() {
		return systemDao;
	}

	public void setSystemDao(SystemDAO systemDao) {
		this.systemDao = systemDao;
	}
}
